package com.hsmw.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;

@Data
public class OutLeasingOrderVO {

    @ApiModelProperty(value = "项目ID")
    private String itemId;

    @ApiModelProperty(value = "项目名称")
    private String itemName;

    @NotNull(message = "需求ID不可以为空")
    @ApiModelProperty(value = "订单编号")
    private String orderId;

    @NotNull(message = "需求ID不可以为空")
    @ApiModelProperty(value = "需求编号")
    private String requestId;

    @ApiModelProperty(value = "子订单编号")
    private String relationId;

    @ApiModelProperty(value = "工长姓名")
    private String foremanName;

    @ApiModelProperty(value = "工长电话")
    private String foremanTel;

    @NotNull(message = "到达时间不可以为空")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "到达时间")
    private String reachTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "施工部位")
    private String constructionPosition;



    @ApiModelProperty(value = "车牌号")
    private String vehicleNum;

    @NotNull(message = "车辆类型不可以为空")
    @ApiModelProperty(value = " 车辆类型 ")
    private String vehicleType;

    @NotNull(message = "车牌型号不可以为空")
    @ApiModelProperty(value = " 车牌型号 ")
    private String vehicleModel;


    @ApiModelProperty(value = "司机名字")
    private String driverName;

    @ApiModelProperty(value = "司机电话")
    private String driverUsername;


    @ApiModelProperty(value = "司机方量")
    private String driverVolume;


}
